package com.vencent.spring.bean;

import java.util.ArrayList;
import java.util.List;

public class Person {
	
	public static final String K = "WHO IS　KING?";
	
	public static final String[] LIKES = {"春天", "夏","秋","冬"};
	
	private String name;
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void play(){
		System.out.println("我在玩" + name);
	}
	
	public String who(){
		return name;
	}
	
	public List<Person> getPersons(){
		List<Person> lists = new ArrayList<Person>();
		Person per1 = new Person();
		per1.setName("Lee1");
		lists.add(per1);
		
		Person per2 = new Person();
		per2.setName("Lee2");
		lists.add(per2);
		
		Person per3 = new Person();
		per3.setName("Lee3");
		lists.add(per3);
		
		return lists;
	}
}
